package com.yhos.platform.oopston.core.json;

import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import com.alibaba.fastjson.support.springfox.SwaggerJsonSerializer;
import springfox.documentation.spring.web.json.Json;

public class CustomizedFastJsonHttpMessageConverter extends FastJsonHttpMessageConverter {

    public CustomizedFastJsonHttpMessageConverter() {
        super();
        this.getFastJsonConfig().getSerializeConfig().put(Json.class, SwaggerJsonSerializer.instance);
    }

}
